import request from '../utils/request'
// 列表
export const list = (params) => request({ url: '/business/supplier/findSupplierList', params })
// 新增
export const add = (data) => request({ url: '/business/suppliers/add', method: 'post', data })
// 更新
export const update = (data, id) => request({ url: `/business/suppliers/update/${id}`, method: 'put', data })
// 删除
export const deleteFn = (id) => request({ url: `/business/suppliers/delete/${id}`, method: 'delete' })
